
<html>
    <head></head>
    <body>
<?php

    include 'dbconf.php';
    include 'dbopen.php';
    include 'functions.php';


    echo "TJEna1";

  $rov = "Diagnostics__Degree_of_Stenose._Operated_Carotis._Min";
  $query = "select `$rov` from clinical_data";
  $query2 = "`$rov`";
  $clinical_var_options = mysql_query($query)
                        or die ("ERROR: could not send/execute query: getCLINvarProExpl ".  mysql_error());
  $nbrRowsJoinQuery=mysql_numrows($clinical_var_options);

  echo "tjena2";
  echo "<br>";
  echo $nbrRowsJoinQuery;
  echo "<br>";
  echo "superman";
  /*while ($row = mysql_fetch_array($clinical_var_options)) {
                    echo $row[$query2];
                    echo "<br>";
  }
   *
   */
  $k=0;
  while ($k < $nbrRowsJoinQuery) {
  $clinical_temp = mysql_result($clinical_var_options,$k);
  $k++;
  echo $clinical_temp;
  echo "<br>";
  }
  
  include 'dbclose.php';

  echo "TJena3";

?>
</body>
</html>